package com.wt.admin.code.language;

import com.aizuda.easy.security.exp.IErrorCode;

public enum Tagging2100 implements IErrorCode {
    CODE_2100(2100, "语句内容不能为空"),
    CODE_2101(2101, "请选择一个分类"),
    CODE_2102(2102, "没有关键词，无法添加"),
    CODE_2103(2103, "请至少为一个关键词添加标注"),
    CODE_2104(2104, "语句ID不存在"),
    CODE_2105(2105, "请选择要训练的分类"),
    CODE_2106(2106, "语句不能为空"),
    ;


    private Integer code;
    private String msg;

    Tagging2100(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
